/*点击单元格显示高亮样式*/

//获取所有td
let tds = document.querySelectorAll('td');
//遍历
tds.forEach(item=>{
    item.onclick = function(){
        this.style.background = '#222';
    }
})